package com.ccit.course.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.ccit.model.CourseOrder;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository
public interface CourseOrderMapper extends BaseMapper<CourseOrder> {

    List<CourseOrder> listAllCourseOrder();

    List<CourseOrder> getByPhone(IPage<CourseOrder> page, @Param("phone") String phone);

}
